package Creational_design_pattern.Prototype_Pattern.Shallow_Clone;

public class Client {
    public static void main(String[] args) {
        Email email,copyemail;
        email = new Email();
        copyemail = (Email)email.clone();
        System.out.println("email == copyemail?");
        System.out.println(email == copyemail);
        System.out.println("email.getAttachment() == copyemail.getAttachment()?");
        System.out.println(email.getAttachment() == copyemail.getAttachment());
    }
}
